package com.ostrich.demomvvm.ui.banner

import androidx.lifecycle.LiveData
import com.ostrich.demomvvm.mvvm.BaseViewModel
import com.ostrich.demomvvm.net.BaseResponse

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/18 16:34
 * @Description : BannerViewModel
 */
class BannerViewModel:BaseViewModel(){
    private val bannerRepository by lazy { BannerViewModel() }
    fun banner(): LiveData<BaseResponse<MutableList<BannerEntity>>> {
        return bannerRepository.banner()
    }
}